import React from 'react'
import { NavLink, Outlet } from 'react-router-dom'

export default function YYG() {
  return (
    <div>
      <ul className="middle-menu">
        {/* <li><a href="#" className="active">首页</a></li>
        <li><a href="#">歌手</a></li> */}
        <li><NavLink to='/yyg/gedan'>首页</NavLink></li>
        <li><NavLink to='/yyg/singer'>歌手</NavLink></li>
      </ul>
      <hr />
      <Outlet/>
    </div>
  )
}
